package com.anuo.app.common.entity;


import com.anuo.app.common.entity.EntityBase;

import java.math.BigDecimal;

public class FilterBase extends EntityBase {
    public int pageNumber;
    public int pageSize;
    public int pageStart;
    public int pictureWidth;
    public int pictureHigh;

    public int getPictureWidth() {
        return pictureWidth;
    }

    public void setPictureWidth(int pictureWidth) {
        this.pictureWidth = pictureWidth;
    }

    public int getPictureHigh() {
        return pictureHigh;
    }

    public void setPictureHigh(int pictureHigh) {
        this.pictureHigh = pictureHigh;
    }

    public FilterBase() {

    }

    public int getPageNumber() {
        return pageNumber;
    }

    public void setPageNumber(int pageNumber) {
        this.pageNumber = pageNumber;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public int getPageStart() {
        return (pageNumber - 1) * pageSize;
    }

    private void setPageStart(int pageStart) {
        this.pageStart = pageStart;
    }
}
